package com.xiaoq.users.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.xiaoq.apis.user.IVerificationCodeApi;

@Service(interfaceClass=IVerificationCodeApi.class,version="1.0.0")
public class VerificationCodeDubboService implements IVerificationCodeApi {
	
	@Autowired
	private VerificationCodeService verification;

	@Override
	public boolean verifyVerificationCode(String cellphoneNumber, String verificationCode) {
		
		return verification.verifyVerificationCode(cellphoneNumber, verificationCode);
	}

}
